home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
archiver
/
exzip192.zip
/
EXZIP.DOC
< prev
next >
Wrap
Text File
|
1989-04-16
|
24KB
|
622 lines
<= ExZip =>
Part of the EXpert series programs available at
The Executive Network Multi-Node BBS
Registration number: (914) 667-4567
Public access : (914) 667-4684
Subscriber access : (914) 667-4759
--------------------------------------------------------------
Copyright 1988, 1989 - Andy Keeves
OK, just what the devil is ExZip you ask. ExZip is a
rather simple program to help with the re-compressing of files.
It was born primarily to answer the need of a BBS SysOp who
receives a fair number of files, some of which may be damaged or
ARCed with an older and less efficient ARChive program, or ZIPed
with compression methods other than the ones I wish to use.
ExZip has the ability to pick out any files from a given
subdirectory that are dated with today's or yesterday's date and
reZIP them all in one pass using PKZIP. Simple, no? This makes
it an ideal program for unattended, overnight processing. All
you need is a simple configuration file to tell it where your
files are. There are a few other variables you can use, this
way nearly anyone can use it effectively, not only Sysops.
ExZip is a successor to ExArc and it introduces a number of
new, enhanced features, including the automatic conversion from
.ARC to .ZIP formats.
ExZip is a FREE program. That is you may freely use it,
give it away, upload it to other bulletin boards. You may NOT
change it, or ask money for it or claim it is yours. If you
like ExZip and is of help to you, upload a few files to your
favorite bulletin board. If you absolutely must pay for it,
send a few $$ to your favorite BBS Sysop - believe me, all
Sysops can use it, since running a board is NOT cheap! Should
you find a bug in ExZip, you may drop me a line via my BBS or
via the InterLink network (several topics).
ExZip v1.9 [04/08/89] - File Re-compressor program Page 1.
How to set-up and use ExZip
---------------------------
The configuration file MUST be called EXZIP.CFG and it MUST
be located in your default directory when ExZip is ran. If you
have used ExArc in the past, notice that the configuration file
MUST now BE CALLED EXZIP.CFG!! MAKE SURE YOU READ ON, SINCE
THERE ARE NEW OPTIONS HERE! It is a standard ASCII text file,
so you may use most any editor to create it, including EDLIN or
"COPY CON". The only required entry in this file is a path
where the files to re-ZIP are to be found. The path
specification, as well as the few other optional specs are
entered in the format X=<options>, where X is the letter
indicating the type of specification that follows. The path
specification is indicated by the letter P. By the way, the
configuration file is NOT case sensitive, so do not worry about
it. Here's what it might look like:
P=C:\NEWFILES
OK, that wasn't so bad, was it? With that line, ExZip would re-
ZIP all files on C:\NEWFILES that have a .ZIP extension and have
yesterday's or today's date! Oh, nearly forgot to mention that
ExZip can handle more then one directory if you so desire. This
is accomplished by entering more then one P=<path spec> lines,
like this:
P=C:\NEWFILES
P=C:\MYDIR
P=C:\BASIC\PROGS
More on path specifications.
----------------------------
FORMAT: P=<drive\path>=<drive\path\DIRnn>
The path specifications lines must always begin with the
letter P. Two options may be specified on this line, all parts
separated by = (equal sign). Part 1, as shown above is the path
to the files, including drive letter. Should NOT contain a
trailing backslash, though ExZip will correct it for you. The
second option is a pointer to the corresponding PCBoard DIRnn
file, including drive letter and path. This should NOT be the
ANSI version under any circumstances!!! If this is specified,
ExZip will perform the following functions for you as well:
- Set the ZIP file date to that found in the DIRnn file;
- Adjust the DIRnn file entry for ZIP extension if
needed;
- Adjust the file size in the DIRnn to the new ZIP;
ExZip v1.9 [04/08/89] - File Re-compressor program Page 2.
I know that no program can please everyone, but I needed to
put a ceiling on this somewhere, so the most path specifications
you can enter into a .CFG file is limited to 50. Actually you
could enter as many as you want, but ExZip will ignore anything
past 50.
ARC options.
------------
FORMAT : A=<Option>
DEFAULT: NO
Default here is to scan only for ZIP files. If option is
"Y" for yes, ExZip will also scan for .ARC files in the
specified path and convert them .ZIP in the same pass.
You may also set this parameter to "O" (Only ARCs) which
will bypass the processing of any ZIP files. This can be handy
if processing a directory which has already been partially
completed.
>> Note that both, ZIP to ZIP and ARC to ZIP format
conversions check for imbedded compressed files! If
converting from ARC ExZip will look for additional .ARC
files contained in the archive and they will also be
converted to ZIP. Similarly, ZIPs will be looked for in
ZIP files and recompressed.
Activity logs.
--------------
FORMAT : L=<drive\path\filename>
DEFAULT: EXZIP.LOG
ExZip activity will be recorded, along with any errors
encountered, in the log file. This is a cumulative record and
the file should be occasionally deleted to save space.
Program names.
--------------
FORMAT : Z=<program name>
DEFAULT: PKZIP
Defines the PKZIP program name, if other than original.
ExZip v1.9 [04/08/89] - File Re-compressor program Page 3.
FORMAT : U=<program name>
DEFAULT: PKUNZIP
Defines the PKUNZIP program name, if other than original.
FORMAT : X=<program name>
DEFAULT: PKXARC
Defines the PKXARC program name, if other than original.
Read Only files.
----------------
FORMAT : R=<command_string>
DEFAULT: none.
Seems that some folks are determined to create problems by
including files set to read-only attributes in ZIPs. To remove
this problem ExZip will allow you to pass a string of your
choice to processing which will be used to set all files
extracted to read/write attributes. Sonce there are many
utilities around to do this, you can take your choice here. The
only thin